package com.hs.auth.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hs.auth.dao.IOrgDao;
import com.hs.auth.service.IOrgService;
import com.hs.core.dao.IBaseDao;
import com.hs.core.service.impl.BaseSevice;
import com.hs.core.utils.PageParam;
import com.hs.core.utils.PageUtil;
@Service 
public class OrgService  extends BaseSevice implements IOrgService{
    
	private IOrgDao orgDao;
	@Override
	public IBaseDao getBaseDao() {
		// TODO Auto-generated method stub
		return orgDao;
	}
	@Autowired
	public void setOrgDao(IOrgDao orgDao) {
		this.orgDao = orgDao;
	}

	public PageUtil getOrgList(PageParam pageParam){
		return this.orgDao.getOrgList(pageParam);
	}

	
}
